SVGenes: a library for rendering genomic features in scalable vector graphic format
نویسندگان
چکیده
MOTIVATION Drawing genomic features in attractive and informative ways is a key task in visualization of genomics data. Scalable Vector Graphics (SVG) format is a modern and flexible open standard that provides advanced features including modular graphic design, advanced web interactivity and animation within a suitable client. SVGs do not suffer from loss of image quality on re-scaling and provide the ability to edit individual elements of a graphic on the whole object level independent of the whole image. These features make SVG a potentially useful format for the preparation of publication quality figures including genomic objects such as genes or sequencing coverage and for web applications that require rich user-interaction with the graphical elements. RESULTS SVGenes is a Ruby-language library that uses SVG primitives to render typical genomic glyphs through a simple and flexible Ruby interface. The library implements a simple Page object that spaces and contains horizontal Track objects that in turn style, colour and positions features within them. Tracks are the level at which visual information is supplied providing the full styling capability of the SVG standard. Genomic entities like genes, transcripts and histograms are modelled in Glyph objects that are attached to a track and take advantage of SVG primitives to render the genomic features in a track as any of a selection of defined glyphs. The feature model within SVGenes is simple but flexible and not dependent on particular existing gene feature formats meaning graphics for any existing datasets can easily be created without need for conversion. AVAILABILITY The library is provided as a Ruby Gem from https://rubygems.org/gems/bio-svgenes under the MIT license, and open source code is available at https://github.com/danmaclean/bioruby-svgenes also under the MIT License. CONTACT [email protected].
منابع مشابه
Verovio: A library for Engraving MEI Music Notation into SVG
Rendering symbolic music notation is a common component of many MIR applications, and many tools are available for this task. There is, however, a need for a tool that can natively render the Music Encoding Initiative (MEI) notation encodings that are increasingly used in music research projects. In this paper, we present Verovio, a library and toolkit for rendering MEI. A significant advantage...
متن کاملLaying out the future of final-form digital documents
It is just over 20 years since Adobe’s PostScript opened a new era in digital documents. PostScript allows most details of rendering to be hidden within the imaging device itself, while providing a rich set of primitives enabling document engineers to think of final-form rendering as being just a sophisticated exercise in computer graphics. The refinement of the PostScript model into PDF has be...
متن کاملFacilitating post-WIMP Interaction Programming using the Hierarchical State Machine Toolkit
Developing interactive programs is difficult because of the poor support for programming interactions in programming languages and the poor support for creative graphic design in traditional toolkits. This paper presents the Hierarchical State Machine Toolkit (HsmTk), a toolkit targeting the development of rich interactions. HsmTk has been designed to accommodate the needs of its users, namely ...
متن کاملKetcher: web-based chemical structure editor
Ketcher is an open-source web-based chemical structure editor developed by SciTouch LLC. Being written on pure JavaScript it incorporates high performance, good portability and light weight. Editor supports late versions of all most popular browsers, such as Internet Explorer, Firefox, Safari, Opera and Chrome. It is developed with minimum third-party code to remain its light weight. It is plat...
متن کاملSvg to Osc Transcoding: towards a Platform for Notational Praxis and Electronic Performance
In this paper we present a case study for the creation of an open system for graphically developing symbolic notation which can function both as professional quality print or online documentation, as well as a computer performable score in electro-acoustic music and other computer aided contexts. Leveraging Adobe Illustrator’s graphic design tools and support for the Scalable Vector Graphics (S...
متن کامل